package com.ccb.sc.common.modules.shopkeeper.convert;

import com.ccb.sc.common.modules.shopkeeper.entity.ShopkeeperWithdraw;
import com.ccb.sc.common.modules.shopkeeper.vo.ShopkeeperWithdrawListVo;
import org.mapstruct.Mapper;

import java.util.List;

import static org.mapstruct.factory.Mappers.getMapper;

/**
 * @author ken
 * @version 1.0
 * @date 2020-09-16
 */
@Mapper
public interface ShopkeeperWithdrawConvert {

    ShopkeeperWithdrawConvert INSTANCE = getMapper(ShopkeeperWithdrawConvert.class);

    List<ShopkeeperWithdrawListVo> entity2ListVo(List<ShopkeeperWithdraw> list);
}
